import 'package:blue_plugin_example/binding/link_dev_binding.dart';
import 'package:blue_plugin_example/binding/plug_route_binding.dart';
import 'package:blue_plugin_example/binding/plug_route_sdk_niaoye_binding.dart';
import 'package:blue_plugin_example/binding/plug_route_xuetang_binding.dart';
import 'package:blue_plugin_example/route/linkdev.dart';
import 'package:blue_plugin_example/route/plug_route_sdk_niaoye.dart';
import 'package:blue_plugin_example/route/plug_route_xuetang.dart';
import 'package:blue_plugin_example/route/plug_route_xueyta.dart';
import 'package:get/get.dart';

/// @class : Routes
/// @name : jhf
/// @description :页面管理
abstract class Routes {
  ///程序入口测试模块
  static const String linkDev = '/linkDev';
  ///蓝牙设备按钮选择模块
  static const String plugRoute = '/plugRoute';
  ///血糖协议
  static const String xueTangPage = '/plugRouteXT';
  ///血糖SDK
  static const String xueTangSDKPage = '/plugRouteXTSDK';
  ///尿液SDKTest
  static const String testSDKPage = '/plugRouteTestSDK';

  ///登录模块
  static const String loginPage = '/login';

  ///注册
  static const String registerPage = '/register';

  ///主页
  static const String homePage = '/home';

  ///webView
  static const String webViewPage = '/webView';

  ///入口模块
  static const String feedbackPage = '/feedback';

  ///用户信息模块
  static const String userInfoPage = '/userInfo';

  ///积分排行榜
  static const String rankingPage = '/ranking';

  ///关于我们
  static const String aboutPage = '/about';

  ///积分明细
  static const String pointsPage = '/points';

  ///设置
  static const String settingPage = '/setting';

  ///语言
  static const String settingLanguagePage = '/language';

  ///我的收藏
  static const String collectPage = '/collect';

  ///搜索页面
  static const String searchPage = '/search';

  ///浏览记录
  static const String historyPage = '/history';

  ///分享页面
  static const String sharePage = '/share';

  ///皮肤
  static const String changeSkin = '/changeSkin';
  ///页面合集
  static final routePage = [
    GetPage(
        name: linkDev,
        page: () =>  LinkDev(),
        binding: LinkDevBinding()),
    GetPage(
        name: plugRoute,
        page: () => PlugRoute(),
        binding: PlugRouterBinding()),
    GetPage(
        name: xueTangPage,
        page: () => PlugRouteXT(),
        binding: PlugRouterXTBinding()),
    GetPage(
        name: testSDKPage,
        page: () => PlugRouteNiaoYeSDK(),
        binding: PlugRouterTestSDKBinding()),
    // GetPage(
    //     name: homePage,
    //     page: () => const HomePage(),
    //     binding: HomeBinding()),
    // GetPage(
    //     name: feedbackPage,
    //     page: () =>  const FeedbackPage(),
    //     binding: FeedbackBinding()),
    // GetPage(
    //     name: loginPage,
    //     page: () => const LoginPage(),
    //     binding: LoginBinding()),
    // GetPage(
    //     name: userInfoPage,
    //     page: () => const UserInfoPage(),
    //     binding: UserInfoBinding()),
    // GetPage(
    //     name: rankingPage,
    //     page: () => const RankingPage(),
    //     binding: RankingBinding()),
    // GetPage(
    //     name: aboutPage,
    //     page: () => const AboutPage(),
    //     binding: AboutBinding()),
    // GetPage(
    //     name: pointsPage,
    //     page: () => const PointsPage(),
    //     binding: PointsBinding()),
    // GetPage(
    //     name: settingPage,
    //     page: () => const SettingPage(),
    //     binding: SettingBinding()),
    // GetPage(
    //     name: settingLanguagePage,
    //     page: () => const SettingLanguagePage(),
    // ),
    // GetPage(
    //     name: collectPage,
    //     page: () => const CollectPage(),
    //     binding: CollectBinding()),
    // GetPage(
    //     name: searchPage,
    //     page: () => const SearchPage(),
    //     binding: SearchBinding()),
    // GetPage(
    //     name: historyPage,
    //     page: () => const HistoryPage(),
    //     binding: HistoryBinding()),
    // GetPage(
    //     name: sharePage,
    //     page: () => const SharePage(),
    //     binding: ShareBinding()),
    // GetPage(
    //     name: changeSkin,
    //     page: () => const NewsPage(),
    //     binding: ShareBinding()),


  ];
}
